package com.example.doma.mapper;


import com.example.doma.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface userMapper {

    List<user> getusers();
    String   getpassword(String name);
    int  adduser(user user);
    int  updateuser(user user);
    int deleteByusername(String username);

}
